from django.urls import path
from apps.goods import views

urlpatterns = [
    # 商品列表页
    path('list/<int:category_id>/skus/', views.ShopListView.as_view()),
    # 商品热销
    path('hot/<int:category_id>/', views.ShopHotView.as_view()),
    # 搜素引擎
    path('search/', views.MySearchView()),
    # 商品详情页
    path('detail/<int:sku_id>/', views.DetailView.as_view()),
    # 商品访问记录
    path('detail/visit/<int:category_id>/', views.ShopCountView.as_view()),
    # 用户浏览记录
    path('browse_histories/', views.UserLookView.as_view()),

]
